import { createApp } from 'vue'
import Antd from 'ant-design-vue'
import { createPinia } from 'pinia'

import './style/index.less'
import './style/index_proxy.scss'

import snowy from './snowy'
import i18n from './locales'
import router from './router'
import App from './App.vue'
import './tailwind.css'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import ViewUIPlus from 'view-ui-plus'
import 'view-ui-plus/dist/styles/viewuiplus.css'
import TinyVue from '@opentiny/vue'

import './style/tiny.less'


import { components } from "@/views/process/engine/node/components/index.js"
import microApp from '@micro-zoe/micro-app'




microApp.start()



const app = createApp(App)
app.use(createPinia())
app.use(router)
app.use(Antd)
app.use(i18n)
app.use(snowy)
app.use(TinyVue)
app.use(ElementPlus)
app.use(ViewUIPlus)
for (const c of components) {
	app.component(c.name, c.data);
}
// 挂载app
app.mount('#app')
